package cn.edu.lingnan.client;

import cn.edu.lingnan.entity.pojo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "point-service")
public interface PointClient {


    @PostMapping("/point/add")
    Result add(@RequestParam("productId") Integer productId, @RequestParam("point") Integer point) ;
}
